package com.joinway.framework.admin.bean;

import java.util.List;

import com.joinway.framework.admin.bean.domain.AdminUser;
import com.joinway.framework.admin.bean.view.LoginRole;
import com.joinway.framework.bean.BaseBean;

public class UserContext extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -319274419703518931L; 

	AdminUser user;
	
	List<LoginRole> roles;

	public AdminUser getUser() {
		return user;
	}

	public void setUser(AdminUser adminUser) {
		this.user = adminUser;
	}

	public List<LoginRole> getRoles() {
		return roles;
	}

	public void setRoles(List<LoginRole> roles) {
		this.roles = roles;
	}

}
